home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 33
/
Volume 33 - JOGO DISK .iso
/
Games
/
space_escape.swf
/
scripts
/
DefineSprite_234_game_world_powerUps_U#mSpeed
/
frame_1
/
DoAction.as
Wrap
Text File
|
2007-01-15
|
405b
|
12 lines
this.onEnterFrame = function()
{
var _loc1_ = this;
var _loc2_ = _root;
if(_loc2_.game.ship.hitTest(_loc1_._x + _parent._parent._x,_loc1_._y + _parent._parent._y,true) && _loc2_.game.ship.active == true)
{
_loc2_.game.ship.speed = _loc2_.limitsArray[1][1];
_loc2_.game.world.powerUpsTextMessage(_loc1_._x,_loc1_._y,"Magic Speed");
removeMovieClip(_loc1_);
}
};